import styled from 'styled-components'


export const Wrapper = styled.div`
  width: 33.33333%;
  position: relative;
  float: left;
  box-sizing: border-box;
  .wrap-img{
    position: absolute;
    width: 80px;
    height: 80px;
    margin: -40px 0 10px;
    display: inline-block;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 40px;
    left: 119px;
    top: 80px;
  }
`;
export const Content = styled.div`
    height: 320px;
    margin: 80px 10px 0 10px;
    padding: 0 20px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background-color: hsla(0,0%,71%,.1);
    box-sizing: border-box;
    .c-title{
        font-size: 21px;
        font-weight: 700;
        margin-top: 53px;
        margin-bottom: 10px;
        text-align: center;
    }
    .description{
        margin: 0 auto 10px;
        max-width: 180px;
        min-height: 50px;
        font-size: 13px;
        line-height: 25px;
        text-align: center;
        color: #333;
    }
    .btn-success{
        width: 100px;
        padding: 8px 0;
        
        font-weight: 400;
        line-height: normal;
        border-color: #42c02e;
        border-radius: 40px;
        color: #fff;
        background-color: #42c02e;
        display: inline-block;
        margin-bottom: 0;
        margin-left: 85px;
        text-align: center;
    }
    .btn{
        margin-left: 2px;
        font-size: 16px;
    }
    hr{
        margin-top: 20px;
        margin-bottom: 20px;
        border: 0;
        border-top: 1px solid #eee;
    }
    .meta{
        position: absolute;
        top: 311px;
        left: 25px;
        margin-top: -29px;
        padding-right: 10px;
        font-size: 12px;
        color: #969696;
        background-color: #f8f8f8;
    }
    .new{
        font-size: 13px;
        line-height: 25px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        color: #333;
        text-align: center;
    }
    .new:hover{
        text-decoration: underline;
    }
    
`;
export  const Span = styled.span`
    float: left;
    width: 38.2%;
    padding: 10px 0;
    margin: 40px 0 40px 302px;
    font-size: 15px;
    border-radius: 20px;
    background-color: #a5a5a5;
    border: none;
    color: #fff;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    cursor:pointer;
`